home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12099 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: htc01.hightec.saarlink.de!mike
  2. From: mike@hightec.saarlink.de (Michael Schumacher)
  3. Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.tcl
  4. Subject: Re: (no subject)
  5. Followup-To: comp.lang.c,comp.lang.c++,comp.lang.tcl
  6. Date: 18 Mar 1996 08:37:39 GMT
  7. Organization: HighTec EDV-Systeme GmbH
  8. Message-ID: <4ij7cj$3a6@hades.rz.uni-sb.de>
  9. References: <4ic6qm$d0g@athos.cc.bellcore.com>
  10. NNTP-Posting-Host: htc01.hightec.saarlink.de
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Sandeep V. Tamhankar (stamhank@notes.cc.bellcore.com) wrote:
  14. : Hi!  I'm working on a project where I have to remotely log into a machine 
  15. : and execute commands.  This isn't a normal UNIX account....in fact, I 
  16. : don't own the remote system, so I can't install any server program that 
  17. : will let me use RPC.  What I'm aiming for is opening a telnet connection 
  18. : and have my program feed it the login, password, and then whatever 
  19. : commands I need to execute.  This way I won't have to modify anything on 
  20. : the remote system, and everyone will be happy.  Does anyone know how to 
  21. : do this in C,C++,TCL, or X-Windows (via some macros)?  I'm open for any 
  22. : suggestions no matter how messy.  Thanks!
  23.  
  24. Take a look at Expect (a Tcl extension, and quite a good one, too... ;).
  25. ftp://ftp.cme.nist.gov/pub/expect
  26.  
  27.  
  28. mike
  29.